public class Main {
    public static void main(String[] args) {

        System.out.print("hello");//不换行
        System.out.println("hello");//println自带换行
        System.out.printf("hello");//格式化，与C语言一样
        System.out.printf("hello\n");

    }
}
